{% extends 'base.html' %}


{% block page-main %}
    <div class="panel-body">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 style="color: #666; font-size: 1.5em;">
                    wcp知识分享平台
                    登录
                </h1>
                <hr>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="third-part tracking-ad  hidden-xs">
                    <div class="text-center" style="height: 141px; overflow: hidden; vertical-align: middle;">
                        {% load static %}
                        <img src="{% static 'images/login_img/PubHomelogo.do' %}" alt="wcp"
                             style="text-align: center; margin-top: 48px; max-width: 169px; max-height: 48px;">
                    </div>
                    <hr>

                </div>
            </div>
            <div class="col-md-4" style="padding: 26px; padding-top: 4px;">
                <form class="form-signin" role="form" id="loginFormId" action="{% url 'login' %}" method="post">
                    {% csrf_token %}
                    <div class="form-group">
                        <label for="exampleInputEmail1"> 登录名 </label>
                        <input type="text" class="form-control"
                               placeholder="手机/邮箱/用户登录名"
                               style="margin-top: 4px;" id="loginNameId"
                               name="username">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputEmail1"> 登录密码 </label>
                        <input type="password" class="form-control"
                               placeholder="请录入密码"
                               style="margin-top: 4px;"
                               id="loginPassWId" name="password">
                    </div>

                    <div>
                        <button class="btn  btn-primary text-left" id="loginButtonId" style="margin-top: 4px;"
                                type="submit">登录
                        </button>

                    </div>
                </form>
            </div>
        </div>

{% endblock %}